package top.tangyh.lamp.care.vo.update;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import top.tangyh.basic.base.entity.SuperEntity;
import java.io.Serializable;

/**
 * <p>
 * 表单修改方法VO
 * 用药执行事件表
 * </p>
 *
 * @author zqb
 * @date 2024-07-26 10:31:52
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "用药执行事件")
public class BExeYaoEventUpdateVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "")
    @NotNull(message = "请填写", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 用药分组id
     */
    @Schema(description = "用药分组id")
    @NotEmpty(message = "请填写用药分组id")
    @Size(max = 32, message = "用药分组id长度不能超过{max}")
    private String groupId;
    /**
     * 
     */
    @Schema(description = "")
    @NotEmpty(message = "请填写")
    @Size(max = 32, message = "长度不能超过{max}")
    private String patientIdent;
    /**
     * 
     */
    @Schema(description = "")
    @NotEmpty(message = "请填写")
    @Size(max = 32, message = "长度不能超过{max}")
    private String hospitalNumber;
    /**
     * 执行用药状态类型
     */
    @Schema(description = "执行用药状态类型")
    @NotEmpty(message = "请填写执行用药状态类型")
    @Size(max = 32, message = "执行用药状态类型长度不能超过{max}")
    private String eventType;
    /**
     * 执行发生时间
     */
    @Schema(description = "执行发生时间")
    @NotNull(message = "请填写执行发生时间")
    private LocalDateTime eventTime;
    /**
     * 执行结束时间
     */
    @Schema(description = "执行结束时间")
    private LocalDateTime eventOverTime;
    /**
     * 速度
     */
    @Schema(description = "速度")
    private Integer speed;
    /**
     * 当前速度
     */
    @Schema(description = "当前速度")
    @NotNull(message = "请填写当前速度")
    private Integer currentSpeed;


}
